var app = angular.module('myApp');
app.controller('attentionContr',['$scope','proServ','$rootScope', '$state',function($scope, proServ, $rootScope, $state){
	$scope.itemArr = proServ.getPro();
	 console.log($scope.itemArr);
//	var u = $scope.itemArr.user;
//	console.log(u)
	$scope.showPro = function () {
		$state.go('goods', {id : JSON.stringify(item)})
	}
}])